package com.example.springboot.service;

import com.example.springboot.Mapper.RxsbMapper;
import com.example.springboot.pojo.rxsb;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class RxsbService implements RxsbMapper {
    @Autowired
    RxsbMapper rxsbMapper;
    @Override
    public int addRxsb(rxsb r) {
        return rxsbMapper.addRxsb(r);
    }

    @Override
    public int updateRxsb(rxsb r) {
        return rxsbMapper.updateRxsb(r);
    }
}
